Semiconductor device having a contact

ABSTRACT

A semiconductor device includes a first and a second gate stacks disposed over a substrate, having spacers along sidewalls, respectively. The device also includes a source/drain (S/D) feature, a capping layer disposed along upper portions of the spacers, respectively and a dielectric layer along lower portions of the spacers, respectively. The dielectric layer physically contacts the capping layer and a top surface of the dielectric layer is above a top surface of the S/D feature. The device also includes a contact disposed over the S/D feature interfacing the capping layer and dielectric layer.

PRIORITY

The present application is a divisional application of U.S. patent application Ser. No. 15/168,323, filed May 31, 2016, entitled “A METHOD OF FORMING CONTACT TRENCH,” hereby incorporated by reference in its entirety.

BACKGROUND

The semiconductor integrated circuit (IC) industry has experienced rapid growth. In the course of IC evolution, functional density (i.e., the number of interconnected devices per chip area) has generally increased while geometry size (i.e., the smallest component (or line) that can be created using a fabrication process) has decreased. This scaling down process generally provides benefits by increasing production efficiency and lowering associated costs.

Such scaling down has also increased the complexity of processing and manufacturing ICs and, for these advances to be realized, similar developments in IC processing and manufacturing are needed. For example, a three dimensional transistor, such as a fin-type field-effect transistor (FinFET), has been introduced to replace a planar transistor. Although existing FinFET devices and methods of fabricating FinFET devices have been generally adequate for their intended purposes, they have not been entirely satisfactory in all respects. For example, improvements in the process of forming a contact trench are desired.

BRIEF DESCRIPTION OF THE DRAWINGS

Aspects of the present disclosure are best understood from the following detailed description when read in association with the accompanying figures. It is noted that, in accordance with the standard practice in the industry, various features in drawings are not drawn to scale. In fact, the dimensions of illustrated features may be arbitrarily increased or decreased for clarity of discussion.

FIG. 1 is a flowchart of an example method for fabricating a semiconductor device constructed in accordance with some embodiments.

FIG. 2A is a diagrammatic perspective view of an initial structure of an example semiconductor device in accordance with some embodiments.

FIG. 2B is a cross section view of an example of the initial structure in accordance with some embodiments, along the line A-A in FIG. 2A.

FIGS. 3A, 3B, 4, 5, 6, 7A, 7B, 7C, 8A, 8B, 8C, 9A, 9B, 9C and 9D are cross-sectional views of an example semiconductor device in accordance with some embodiments, along the line A-A in FIG. 2A.

DETAILED DESCRIPTION

The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. Specific examples of components and arrangements are described below to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. For example, the formation of a first feature over or on a second feature in the description that follows may include embodiments in which the first and second features are formed in direct contact, and may also include embodiments in which additional features may be formed between the first and second features, such that the first and second features may not be in direct contact. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.

Further, spatially relative terms, such as “beneath,” “below,” “lower,” “above,” “upper” and the like, may be used herein for ease of description to describe one element or feature's relationship to another element(s) or feature(s) as illustrated in the figures. The spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. The apparatus may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein may likewise be interpreted accordingly.

The present disclosure is directed to, but not otherwise limited to, a fin-like field-effect transistor (FinFET) device. Such a device may include a P-type metal-oxide-semiconductor FinFET device or an N-type metal-oxide-semiconductor FinFET device. The FinFET device may be a dual-gate device, tri-gate device, bulk device, silicon-on-insulator (SOI) device, and/or other configuration. One of ordinary skill may recognize other embodiments of semiconductor devices that may benefit from aspects of the present disclosure. For example, some embodiments as described herein may also be applied to gate-all-around (GAA) devices, Omega-gate (Ω-gate) devices, or Pi-gate (Π-gate) devices. The following disclosure will continue with a FinFET example to illustrate various embodiments of the present invention. It is understood, however, that the application should not be limited to a particular type of device, except as specifically claimed.

FIG. 1 is a flowchart of a method 100 of fabricating one or more semiconductor devices in accordance with some embodiments. The method 100 is discussed in detail below, with reference to an initial structure 205 of a semiconductor device 200 showed in FIGS. 2A and 2B, and the semiconductor device 200 shown in FIGS. 3A through 9D.

Referring to FIGS. 1, 2A and 2B, method 100 starts at step 102 by receiving the initial structure 205 of the semiconductor device 200. The initial structure 205 includes a substrate 210. The substrate 210 may be a bulk silicon substrate. Alternatively, the substrate 210 may comprise an elementary semiconductor, such as silicon or germanium in a crystalline structure; a compound semiconductor, such as silicon germanium, silicon carbide, gallium arsenic, gallium phosphide, indium phosphide, indium arsenide, and/or indium antimonide; or combinations thereof. Possible substrates 210 also include a silicon-on-insulator (SOI) substrate. SOI substrates are fabricated using separation by implantation of oxygen (SIMOX), wafer bonding, and/or other suitable methods.

Some exemplary substrates 210 also include an insulator layer. The insulator layer comprises any suitable material, including silicon oxide, sapphire, and/or combinations thereof. An exemplary insulator layer may be a buried oxide layer (BOX). The insulator is formed by any suitable process, such as implantation (e.g., SIMOX), oxidation, deposition, and/or other suitable process. In some exemplary semiconductor device 200, the insulator layer is a component (e.g., layer) of a silicon-on-insulator substrate.

The substrate 210 may also include various doped regions. The doped regions may be doped with p-type dopants, such as boron or BF₂; n-type dopants, such as phosphorus or arsenic; and/or combinations thereof. The doped regions may be formed directly on the substrate 210, in a P-well structure, in an N-well structure, in a dual-well structure, or using a raised structure. The substrate 210 may further include various active regions, such as regions configured for an N-type metal-oxide-semiconductor transistor device and regions configured for a P-type metal-oxide-semiconductor transistor device.

The substrate 210 may also include various isolation features 220. The isolation features 220 separate various device regions in the substrate 210. The isolation features 220 include different structures formed by using different processing technologies. For example, the isolation features 220 may include shallow trench isolation (STI) features. The formation of an STI may include etching a trench in the substrate 210 and filling in the trench with insulator materials such as silicon oxide, silicon nitride, or silicon oxynitride. The filled trench may have a multi-layer structure such as a thermal oxide liner layer with silicon nitride filling the trench. A chemical mechanical polishing (CMP) may be performed to polish back excessive insulator materials and planarize the top surface of the isolation features 220.

The initial structure 205 also includes a plurality of fin features 230 formed over the substrate 210. The fin feature 230 may include silicon (Si), silicon germanium (SiGe), silicon germanium tin (SiGeSn), gallium arsenic (GaAs), gallium phosphide (GaP), indium phosphide (InP), indium arsenide (InAs), and/or other suitable materials. In some embodiments, the fin feature 230 is formed by any suitable process including various deposition, photolithography, and/or etching processes. As an example, the fin feature 230 is formed by patterning and etching a portion of the substrate 210.

The initial structure 205 also includes a plurality of first conductive features 240 over the substrate 210. In some embodiments, the first conductive feature 240 may be gate structures including high-k/metal gate stacks (HK/MGs) wrapping over a portion of the fin features 230. Alternatively, in some embodiment, the first conductive feature 240 may also include a portion of the interconnect structure, such as a contact, a metal via, and/or metal line. In one embodiment, the first conductive features 240 include electrodes, capacitors, resistors and/or a portion of a resistor. For the purpose of simplicity and clarity, the first conductive feature 240 is referred to as the HK/MG 240.

The HK/MGs 240 may include gate dielectric layer and MG electrode layer.

The gate dielectric layer of HK/MGs 240 may include LaO, AlO, ZrO, TiO, Ta₂O₅, Y₂O₃, SrTiO₃ (STO), BaTiO₃ (BTO), BaZrO, HfZrO, HfLaO, HfSiO, LaSiO, AlSiO, HfTaO, HfTiO, (Ba,Sr)TiO₃ (BST), Al₂O₃, Si₃N₄, oxynitrides (SiON), or other suitable materials. The gate dielectric layers may be deposited by a suitable method, such as chemical vapor deposition (CVD), atomic layer deposition (ALD), thermal oxidation or ozone oxidation, other suitable technique, and/or a combination thereof.

The MG electrode layer may include a single layer or multi layers, such as a metal layer, a liner layer, a wetting layer, and an adhesion layer. The MG may include Ti, Ag, Al, TiAlN, TaC, TaCN, TaSiN, Mn, Zr, TiN, TaN, Ru, Mo, Al, WN, Cu, W, or any suitable materials. The MG may be formed by ALD, physical vapor deposition (PVD), CVD, and/or other suitable process.

In some embodiments, dummy gate stacks are formed first and then are replaced later by HK/MGs 240 after high thermal temperature processes are performed, such as thermal processes during source/drain formation. The dummy gate stack may include a dummy gate dielectric layer and a polysilicon layer and may be formed by deposition, patterning and etching processes.

In some embodiments, a gate hard mask (HM) 245 is formed on top of each of the HK/MGs 240 to provide protection in subsequent etch processes. The gate HM 245 may include titanium (Ti), titanium oxide, TiN, TiSiN, tantalum (Ta), tantalum oxide, TaN, TaSiN, silicon nitride, silicon oxide, silicon carbide, silicon carbide nitride, manganese (Mn), cobalt (Co), ruthenium (Ru), WN, aluminum nitride, aluminum oxide, and/or other suitable material. The gate HM 245 may be formed by deposition, lithography patterning and etch processes.

In some embodiments, gate spacers 250 may be formed along the sidewalls of the HK/MGs 240. The gate spacers 250 may include silicon oxide, a dielectric material having a dielectric constant (k) lower than thermal silicon oxide (therefore referred to as low-k dielectric material layer), and/or other suitable dielectric material layer. The gate spacers 250 may be formed by depositing a gate spacer layer and then anisotropically dry etching the gate spacer layer.

The initial structure 205 also may include second conductive features 260 over the substrate 210. In some embodiments, the second conductive features 260 are source/drain (S/D) features, beside and separated by the HK/MG 240. Alternatively, in some embodiment, the second conductive feature 260 may also include a portion of the interconnect structure, such as a contact, metal via, or metal line. In one embodiment, the first conductive features 260 include electrodes, capacitors, resistors or a portion of a resistor. For the purpose of simplicity and clarity, the second conductive feature 260 is referred to as the S/D features 260 hereinafter.

Here, one of the S/D features 260 is a source feature and another of the S/D features 260 is a drain feature. As shown, the S/D features 260 are separated by the HK/MG 240. In one embodiment, a portion of the substrate 210, beside the HK/MG 240 is recessed to form S/D recesses and then the S/D features 250 are formed over the S/D recesses by epitaxial growing processes, such as CVD, VPE and/or UHV-CVD, molecular beam epitaxy, and/or other suitable processes.

The S/D features 260 may include germanium (Ge), silicon (Si), gallium arsenide (GaAs), aluminum gallium arsenide (AlGaAs), silicon germanium (SiGe), gallium arsenide phosphide (GaAsP), gallium antimony (GaSb), indium antimony (InSb), indium gallium arsenide (InGaAs), indium arsenide (InAs), or other suitable materials. The S/D features 260 may be formed by epitaxial growing processes, such as CVD deposition techniques (e.g., vapor-phase epitaxy (VPE) and/or ultra-high vacuum CVD (UHV-CVD)), molecular beam epitaxy, and/or other suitable processes. After the S/D recesses are filled with the S/D feature 260, further epitaxial growth of a top layer of the S/D features 260 expands horizontally and facets may start to form, such as a diamond shape facets. The S/D features 260 may be in-situ doped during the epi processes. Alternatively, the S/D feature 260 is not in-situ doped, an implantation process (i.e., a junction implant process) is performed to dope the S/D feature 260. One or more annealing processes may be performed to activate dopants. The annealing processes comprise rapid thermal annealing (RTA) and/or laser annealing processes. In some embodiments, a top surface 260S of the S/D feature 260 is below a top surface 240S of the HK/MG stack 240. As a result, a space 270 is defined by the gate spacers 250 and the top surface 260S.

Typically, a dielectric layer will be formed over the substrate 210, including fully filling in the space 270 and extending above the HK/MG stack 240. Then, a contact trench will be formed in the dielectric layer to expose the S/D feature 260 and follows by depositing a metal layer to contact the S/D feature for electric connection. Be formed through the dielectric layer to reach the S/D feature 260, the contact trench is a quite deep trench. In other words, the trench etching process is a deep trench etching process. During this deep etching process, the gate spacer 250 may experience a loss (i.e. portions of the spacers are removed), which may results in a gate leakage issue. To address this issue, the present disclosure provides methods of forming a contact trench with a protection layer for the gate spacer 250.

Referring to FIGS. 1, 3A and 3B, once the initial structure 205 is received, method 100 proceeds to step 104 by forming a first dielectric layer 310 to partially filling in the space 270. After filled in by the first dielectric layer 310, a remaining space 270′ is still present. In the present embodiment, a thickness of the first dielectric layer 310 is controlled to have a height h above the top S/D surface 260S. The first dielectric layer 310 may include silicon oxide, low-k dielectric material, and/or other suitable dielectric material layer. In various examples, the low k dielectric material may include fluorinated silica glass (FSG), carbon doped silicon oxide, amorphous fluorinated carbon, Parylene, BCB (bis-benzocyclobutenes), SiLK (Dow Chemical), polyimide, and/or other materials as examples. In another example, the low k dielectric material may include an extreme low k dielectric material (XLK). In yet another example, the low k dielectric material layer includes a porous version of an existing Dow Corning dielectric material called FOX (flowable oxide) which is based on hydrogen silsesquioxane. The first dielectric layer 310 may be deposited by CVD, ALD, spin-on coating, and/or other techniques.

In some embodiments, the first dielectric layer 310 is deposited into space 270 and then recesses back to the height h by a selective etch process which etches the first dielectric layer 310 without etching the gate HM 245 and the gate spacers 250. The etch process may include a selective wet etch, a selective dry etch, and/or a combination of. In the present embodiment, a deposition thickness of the first dielectric layer 310 is controlled such that the recess process is a shallow etch process, which results in a less constrains for achieving etch selectivity.

Referring to FIGS. 1 and 4, method 100 proceeds to step 106 by depositing a capping layer 410 over the gate HM 245, along gate spacers 250 and on a top surface 310S of the first dielectric layer 310. The capping layer 410 may include silicon nitride, silicon carbide, and/or other suitable material. In the present embodiment, the capping layer 410 is different from the gate spacer 250 to achieve etching selectivity during a subsequent etch as described in more detail below. For example, the capping layer 410 includes silicon nitride while the gate spacer 250 includes low-k dielectric material. The capping layer 410 may be deposited by CVD, ALD, spin-on coating, and/or other techniques.

Referring to FIGS. 1 and 5, method 100 proceeds to step 108 by removing the capping layer 410 from the top surface 310S to expose the first dielectric layer 310. In some embodiments, a patterned photoresist layer 510 is formed over the capping layer 410, which has an opening 515 and a portion of the capping layer 410, which is over the first dielectric layer 310, is exposed within the opening 515. The capping layer 410 is then etched through the opening 515. An exemplary lithography process may include forming a photoresist layer, exposing the photoresist layer by a lithography exposure process, performing a post-exposure bake process, and developing the photoresist layer to form the patterned resist layer. The etch process may include a wet etch, a dry etch, and/or a combination thereof. After removing the capping layer 410 from the top surface 310S, the pattered photoresist layer 510 is removed by wet stripping and/or plasma ashing.

Referring to FIGS. 1 and 6, method 100 proceeds to step 110 by depositing a second dielectric layer 610 over the substrate 210, including filling in the remaining space 270′. As shown, the second dielectric layer 610 completely (or fully) fills in the remaining space 270′ that remaining after step 108. In some embodiments, the second dielectric layer 610 physically contacts the first dielectric layer 310. In the present embodiment, a thickness of the second dielectric layer 610 is controlled such that the second dielectric layer 610 is also formed over (or above) the gate HM stack 245 to provide electric insolation for the gate stacks 240. The second dielectric layer 610 may include silicon oxide, low-k dielectric material, and/or other suitable dielectric material layer. The second dielectric layer 610 may be deposited by CVD, ALD, spin-on coating, and/or other technique. In an embodiment, the second dielectric layer 610 is formed of the same material as the first dielectric layer 310.

Referring to FIGS. 1 and 7A, method 100 proceeds to step 112 by forming a HM 710 having an opening 715 over the second dielectric layer 610. As shown, opening 715 is positioned (or aligned) over one or more designated S/D features 250. In one embodiment, the HM 710 is a patterned photoresist layer. In another embodiment, the HM 710 is formed by depositing a HM layer over the second dielectric layer 610, depositing photoresist layer over the HM layer, patterning the photoresist layer, then etching the HM layer through patterned photoresist layer to pattern the HM layer and then etching the HM layer through the patterned HM layer to form the opening 715 in the HM 710. In some embodiments, the material of HM layer 710 is different than the material of the gate HM 245. For example, the HM 710 is titanium nitride while the gate HM 245 is silicon nitride.

In some embodiments, edges 715E of the opening 715 align to, or inside of, the respective edges 410E of the capping layer 410, as shown in FIG. 7A. Alternatively, in some embodiments, the opening 715 is formed with a greater width such that it extends to both sides of adjacent HK/MGs 240 (with the gate HM 245) to obtain advantages, such as relaxing lithography process resolution constrains, as shown in FIG. 7B. In some embodiments, the 715 is aligned to one side. FIG. 7C shows such an example, opening 715 is aligned or overlapping portions of the capping layer 410 and HK/MG 240 on the left side.

Referring to FIGS. 1 and 8A (in conjunction with the process described with respect to FIG. 7A), method 100 proceeds to step 114 by etching the second and the first dielectric layers, 610 and 310, through the opening 715 to form a contact trench 810 and expose the S/D features 260. The trench etch may include a wet etch, a dry etch, and/or a combination thereof. As has been mentioned above, the trench etch process is chosen to selectively etch the second and first dielectric layers, 610 and 310, without substantially etching the gate HM 245 and the capping layer 410. Accordingly, the gate spacers 250 are protected by the capping layer 410 during the etching process. The capping layer 410 allows for relaxed etching constraints. In some embodiments, the selective trench etch includes a plasma dry etching process using a fluorine-based chemistry, such as CF₄, SF₆, CH₂F₂, CHF₃, and/or C₂F₆ and the contact trench 810 is formed with a vertical profile or a taper profile.

As a result, the first dielectric layer 310 underneath the capping layer 410 remains intact. Thus, the contact trench 810 has a top portion 810T defined by the second dielectric layer 610, a middle portion 810M defined by the capping layer 410 and a lower portion 810L defined by the first dielectric layer 310, as shown in FIG. 8A. The top, middle and lower portions, 810T, 810M and 810L, have a straight-line profile. The lower portion 810L has a height that is the same as the height h of the first dielectric layer 310. In other words, the capping layer 410 is disposed along upper portions 250Uof the spacers 250, respectively, and the first dielectric layer 310 along lower portions 250Lof the spacers 250, respectively. The first dielectric layer 310 physically contacts the capping layer 410 and a top surface of the first dielectric layer 310 is above a top surface of the S/D feature 260.

As shown in FIG. 8B, for circumstances where opening 715 is expands over both sides of the adjacent gates HM 245 and the capping layers 410 (in conjunction with the process described with respect to FIG. 7B), the exposed portions of the gate HM 245 and the capping layers 410 serve as a sub-etch-mask to protect the gate stack 240 and the gate spacers 250. Accordingly, the top portion 810T is defined by the second dielectric layer 610, the middle portion 810M is defined by the capping layer 410 and the lower portion 810L is defined by the first dielectric layer 310. Thus, here contact trench 810 has a symmetrical profile when comparing the left and right sides of the trench. Specifically, contract trench 810 shown in FIG. 8B is stair stepped on both the left and right sides where the top portion 810 transitions to the middle portion 810M of the trench. The lower portion 810L has a height that is same as the height h of the first dielectric layer 310. Also, as shown, the top portion 810T is wider than the middle portion 810M and the lower portion 810L of contact trench 810.

As shown in FIG. 8C, for circumstances where opening 715 is disposed over the gate HM 245 and the capping layer 410 on the left side (in conjunction with the process described with respect to FIG. 7C), the exposed portions of the gate HM 245 and the capping layer 410 serve as a sub-etch-mask to protect the gate stack 240 and the gate spacers 250 on the left side. Also, as shown, the second dielectric layer 610 and the capping layer 410 provide protection for the gate spacer 250 and the gate stack 240 depicted on the right side of the figure. Accordingly, on the left side of contact trench 810, the top portion 810T is defined by the second dielectric layer 610, the middle portion 810M and the lower portion 810L is defined by the first dielectric layer 310. And, on the right side, the top portion 810T and the middle portion 810M are defined by the second dielectric layer 610 and the lower portion 810L is defined by the first dielectric layer 310, as shown in FIG. 8C. Thus, contact trench 810 here has an asymmetric profile when comparing the left and right sides of the trench. Specifically, the left side of contact 810 in FIG. 8C is stair stepped where the top portion 810 transitions to the middle portion 810M of the trench while the right side of the trench has a straight-line profile.

After forming the contact trench 810, the HM 710 is removed by another etch process. In one example where the HM 710 is a photoresist pattern, the HM 710 is removed by wet stripping and/or plasma ashing.

Referring to FIGS. 1 and 9A (in conjunction with the process described with respect to FIG. 8A), method 100 proceeds to step 116 by forming a metal (or conductive) layer 910 in the contact trench 810. In the present embodiment, the metal layer 910 includes include cobalt (Co), copper (Cu), copper, copper magnesium (CuMn), copper aluminum (CuAl) or copper silicon (CuSi), aluminum (Al), tungsten (W), and/or other suitable conductive material. The metal layer 910 may be deposited by ALD, PVD, CVD, metal-organic chemical vapor deposition (MOCVD), plating, and/or other techniques.

Additionally, a recess process is performed to recess excessive metal layer 910 over the second dielectric layer 610 as shown in FIG. 9B. In some embodiments, a chemical mechanical polishing (CMP) process is performed to remove excessive metal layer 910. The remaining metal layer 910 in the contact trench 810 forms a contact metal 915. In the present embodiment, the contact metal 915 is formed such that a bottom portion 915B physically contacts the S/D feature 260, a lower portion 915L (on both sides) physically contacts the first dielectric layer 310, a middle portion 915M (on both sides) physically contacts the capping layer 410 and a top portion 915T (on both sides) physically contacts the second dielectric layer 610.

In conjunction with the process described with respect to FIG. 8B above, the contact metal 915 is formed such that the bottom portion 915B physically contacts the S/D feature 260, the lower portion 915L (on both sides) physically contacts the first dielectric layer 310, the middle portion 915M (on both sides) physically contacts the capping layer 410 and the top portion 915T (on both sides) physically contact the second dielectric layer 610, as shown in FIG. 9C.

In conjunction with the process described with respect to FIG. 8C above, the contact metal 915 is formed such that the bottom portion 915B physically contacts the S/D feature 260. Furthermore, the lower portion 915L physically contacts the first dielectric layer 310 (on both sides), the middle portion 915M physically contacts the capping layer 410 on the left side and physically contacts the second dielectric layer 610 on the right side, and the top portion 915T physically contact the second dielectric layer 610 (on both sides).

Additional steps can be provided before, during, and after the method 100, and some of the steps described can be replaced, eliminated, or moved around for additional embodiments of the method 100.

The semiconductor devices, 200, may include additional features, which may be formed by subsequent processing. For example, various vias/lines and multilayers interconnect features (e.g., metal layers and interlayer dielectrics) are formed over the substrate 210. For example, a multilayer interconnection includes vertical interconnects, such as conventional vias or contacts, and horizontal interconnects, such as metal lines. The various interconnection features may implement various conductive materials including copper, tungsten, and/or silicide. In one example, a damascene and/or dual damascene process is used to form a copper related multilayer interconnection structure.

Based on the above, it can be seen that the present disclosure provide methods of forming a contact trench. The method employs forming a capping layer along an upper portion of a gate spacer to protect gate spacer during forming contact trench. The method provides a robust contact metal formation process.

The present disclosure provides many different embodiments of fabricating a semiconductor device that provide one or more improvements over existing approaches. In one embodiment, a method for fabricating a semiconductor device includes forming a first gate stack and a second gate stack over a substrate, the first and second gate stacks having gate spacers disposed along their respective sidewalls. The method also includes forming a source/drain (S/D) feature over the substrate. The source/drain feature is disposed between the first and second gate stacks. The gate spacers and a top surface of the S/D feature define a space. The method also includes forming a first dielectric layer over the S/D feature in the space and forming a capping layer along the gate spacers in the space. The capping layer has a different etch selectivity than the gate spacers. The method also includes forming a second dielectric layer over the first dielectric layer in the space and forming a contact trench extending through the second dielectric layer, the first dielectric layer and the capping layer to expose the top surface of the S/D feature.

In yet another embodiment, a method includes forming a first gate stack and a second gate stack over a substrate, the first and second gate stacks having gate spacers disposed along their respective sidewalls. The method also includes forming a source/drain (S/D) feature over the substrate. The source/drain feature is disposed between the first and second gate stacks. The gate spacers and a top surface of the S/D feature define a space. The method also includes forming a first dielectric layer in the space, recessing the first dielectric in the space, forming a capping layer along the gate spacers in the space, forming a second dielectric layer over the first dielectric layer in the space and forming a contact trench extending through the second dielectric layer, the first dielectric layer and the capping layer to the S/D feature. The method also includes forming a conductive material in the contact trench.

In yet another embodiment, a semiconductor device includes a first and a second gate stacks disposed over a substrate, having spacers along sidewalls, respectively. The device also includes a source/drain (S/D) feature separates the first and second gate stacks, a capping layer disposed along upper portions of the spacers, respectively and a dielectric layer along lower portions of the spacers, respectively. The dielectric layer physically contacts the capping layer and a top surface of the dielectric layer is above a top surface of the S/D feature. The device also includes a metal feature disposed over the S/D feature such that a bottom of the metal feature physically contacts the S/D feature, a lower portion of sidewall of the metal feature physically contacts the dielectric layer and an upper portion of sidewall of the metal feature physically contacts the capping layer.

The foregoing outlines features of several embodiments so that those skilled in the art may better understand the aspects of the present disclosure. Those skilled in the art should appreciate that they may readily use the present disclosure as a basis for designing or modifying other processes and structures for carrying out the same purposes and/or achieving the same advantages of the embodiments introduced herein. Those skilled in the art should also realize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that they may make various changes, substitutions, and alterations herein without departing from the spirit and scope of the present disclosure. 

What is claimed is:
 1. A device comprising: a first and a second gate stacks disposed over a substrate, having spacers along sidewalls, respectively; a source/drain (S/D) feature separates the first and second gate stacks; a capping layer disposed along upper portions of the spacers, respectively; a dielectric layer along lower portions of the spacers, respectively, wherein the dielectric layer physically contacts the capping layer, wherein a top surface of the dielectric layer is above a top surface of the S/D feature; and a metal feature disposed over the S/D feature, wherein a bottom of the metal feature physically contacts the S/D feature, a lower portion of sidewall of the metal feature physically contacts the dielectric layer and an upper portion of sidewall of the metal feature physically contacts the capping layer.
 2. The device of claim 1, wherein the dielectric layer is a low-k dielectric material.
 3. The device of claim 2, wherein the low-k dielectric material interfaces the S/D feature.
 4. The device of claim 1, wherein the capping layer is silicon nitride.
 5. The device of claim 1, wherein another dielectric layer is formed over the first and second gate stacks and extends between the metal feature and the first gate stack.
 6. The device of claim 5, wherein the another dielectric layer interposes the capping layer and the metal feature.
 7. The device of claim 5, wherein the another dielectric layer interfaces a top surface of the dielectric layer.
 8. The device of claim 1, wherein the spacers interface a sidewall of the S/D feature.
 9. A semiconductor device, comprising: a gate structure having a gate spacer abutting a sidewall of the gate structure; a hard mask layer over the gate structure; a source/drain feature adjacent the gate structure and abutting the gate spacer; a first dielectric layer formed over the source/drain feature; a capping layer formed over the first dielectric layer and extending over the hard mask layer; and a contact feature extending to the source/drain feature, wherein the contact feature interfaces the capping layer.
 10. The semiconductor device of claim 9, wherein the capping layer is a low-k dielectric layer.
 11. The semiconductor device of claim 9, further comprising a second dielectric over the gate structure and the capping layer.
 12. The semiconductor device of claim 11, wherein the second dielectric continuously extends from over the gate structure to an interface with a top surface of the first dielectric layer.
 13. The semiconductor device of claim 12, wherein the gate spacer interfaces the top surface of the first dielectric layer.
 14. The semiconductor device of claim 12, wherein a hard mask layer interposes the second dielectric and the gate structure.
 15. A semiconductor device, comprising: a first gate structure and a second gate structure; a source/drain feature between the first gate structure and the second gate structure; a first dielectric layer extending from the source/drain feature to a top surface; a capping layer formed on the top surface of the first dielectric layer; a second dielectric layer extending between one of the first gate structure and the capping layer; and a contact feature extending to the source/drain feature, wherein the contact feature interfaces the capping layer.
 16. The semiconductor device of claim 15, wherein the capping layer interfaces the second dielectric layer.
 17. The semiconductor device of claim 16, wherein a first surface of the capping layer interfaces the second dielectric layer and a second surface of the capping layer interfaces a spacer formed abutting the first gate structure.
 18. The semiconductor device of claim 15, wherein the contact feature interfaces the second dielectric layer.
 19. The semiconductor device of claim 15, wherein the contact feature interfaces a first surface of the second dielectric layer and the capping layer interfaces as second surface of the second dielectric layer, the second surface opposing the first surface.
 20. The semiconductor device of claim 15, wherein the capping layer is disposed over the first gate structure. 